package entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品表
 * </p>
 *
 * @author hjj
 * @since 2023-02-28
 */
@Getter
@Setter
@TableName("tb_goods")
@ApiModel(value = "Goods对象", description = "商品表")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品id")
      @TableId(value = "goods_id", type = IdType.AUTO)
    private Integer goodsId;

    @ApiModelProperty("商品序列号")
    @TableField("goods_sernum")
    private String goodsSernum;

    @ApiModelProperty("商品名称")
    @TableField("goods_name")
    private String goodsName;

    @ApiModelProperty("商品描述")
    @TableField("goods_desc")
    private String goodsDesc;

    @ApiModelProperty("商品所属类别")
    @TableField("goods-category_id")
    private Integer goodsCategoryId;

    @ApiModelProperty("商品品牌")
    @TableField("goods_brand_id")
    private Integer goodsBrandId;

    @ApiModelProperty("是否上架")
    @TableField("goods_status")
    private String goodsStatus;

    @ApiModelProperty("供应商")
    @TableField("goods_supplie_id")
    private Integer goodsSupplieId;

    @ApiModelProperty("店铺")
    @TableField("goods_shop_id")
    private Integer goodsShopId;

    @ApiModelProperty("推荐商品id")
    @TableField("goods_child_id")
    private Integer goodsChildId;

    @ApiModelProperty("支付方式")
    @TableField("goods_pay")
    private String goodsPay;

    @ApiModelProperty("服务保证")
    @TableField("goods_ser")
    private String goodsSer;

    @ApiModelProperty("是否包邮")
    @TableField("goods_post")
    private String goodsPost;


}
